package com.app.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 班级成员表
 * </p>
 *
 * @author lizi
 * @since 2025-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("huiben_class_member")
public class HuibenClassMember implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long classId;

    private Long userId;

    private String role;

    private Boolean hasPunched;

    private Integer readDays;

    private Integer readBooks;

    private LocalDateTime joinedAt;

    private Long tenantId;

}
